package com.joven.product.api.business.client;

import com.joven.product.api.business.client.model.Supplier;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 供应商id
 *
 * @author Joven
 * @date 2022/6/29 18:04
 */
@Component
@Slf4j
public class SupplierClient {
    /**
     * 根据id查询供应商
     *
     * @param id
     * @return
     */
    public Supplier getById(Long id) {
        return new Supplier(1L,"供应商1");
    }
}
